package com.lanou3g.musicenjoy.entity;

import java.util.List;

/**
 * Created by dllo on 15/10/19.
 */
public class NewestSearch {

    /**
     * data : [{"hit":0,"hot":0,"score":0,"url":"","val":"一次就好"},{"hit":0,"hot":0,"score":0,"url":"","val":"鹿晗"},{"hit":0,"hot":0,"score":0,"url":"","val":"伪装者"},{"hit":0,"hot":0,"score":0,"url":"","val":"好好地 朴树"},{"hit":0,"hot":0,"score":0,"url":"","val":"咱们屯里人"},{"hit":0,"hot":0,"score":0,"url":"","val":"宁桓宇"},{"hit":31,"hot":27111,"score":21070,"url":"","val":"南山南"},{"hit":336,"hot":13321,"score":11857,"url":"","val":"tfboys"},{"hit":412,"hot":14956,"score":9845,"url":"","val":"鹿晗"},{"hit":2928,"hot":11187,"score":9425,"url":"","val":"陈奕迅"},{"hit":1406,"hot":10914,"score":8956,"url":"","val":"张杰"},{"hit":21,"hot":7877,"score":7417,"url":"","val":"琅琊榜主题曲"},{"hit":606,"hot":8151,"score":6813,"url":"","val":"邓紫棋"},{"hit":2716,"hot":8239,"score":6542,"url":"","val":"林俊杰"},{"hit":3464,"hot":7529,"score":6171,"url":"","val":"张学友"}]
     * pageCount : 1
     * totalCount : 15
     */

    private int pageCount;
    private int totalCount;
    private List<DataEntity> data;

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public void setData(List<DataEntity> data) {
        this.data = data;
    }

    public int getPageCount() {
        return pageCount;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public List<DataEntity> getData() {
        return data;
    }

    public static class DataEntity {
        /**
         * hit : 0
         * hot : 0
         * score : 0.0
         * url :
         * val : 一次就好
         */

        private int hit;
        private int hot;
        private double score;
        private String url;
        private String val;

        public void setHit(int hit) {
            this.hit = hit;
        }

        public void setHot(int hot) {
            this.hot = hot;
        }

        public void setScore(double score) {
            this.score = score;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public void setVal(String val) {
            this.val = val;
        }

        public int getHit() {
            return hit;
        }

        public int getHot() {
            return hot;
        }

        public double getScore() {
            return score;
        }

        public String getUrl() {
            return url;
        }

        public String getVal() {
            return val;
        }
    }
}
